package factory;

import java.util.ArrayList;

/**
 * @Author:DarknessShadow
 * @description:抽象的零件类
 * @date 2020/5/14 15:39
 */
public abstract class Tray extends Item{

    protected ArrayList tray = new ArrayList();
    public Tray(String caption) {
        super(caption);
    }

    public void add(Item item) {
        tray.add(item);
    }
}
